value_name = "liujun"
value_passwd = "www_123456"
for i in range(3):
    print()
    print(f"There are three chance, chance{i+1}")
    get_name = input('PLS input username: >>>')
    get_pass = input('PLS input password: >>>')
    
    if value_name == get_name and value_passwd == get_pass:
        print("Success, Welcome to visit the homework.")
        break
    else:
        print("Fail username or password ,please try again.")
        print()
        continue
else:
    print("Sorry, It's failed,bye. ")

# 完成的很好
